<?php
    class gdcl{
        var $show_plist= '';
        var $now_root = 0;
        var $pagesize = 20;
        function chekwaitjh() {//按查询待办任务查投激活卡表
            global $db;
            global $MEMBER;
            global $now_user;
            global $ajax;
            global $returnajaxcontent;
            // 只返回列表内容，用ajax反馈的方式显示改变网页
            $ajax = true;
            $this->show_plist = '';
            $this->now_root = $MEMBER->getroot($now_user);
            $i = 0;
            $showplist = $this->md_plist;
            $db->ExeQuerySql("SELECT * FROM `cu_glxq` WHERE isend is null  AND gdlbvalue = '激活卡申请'");
            for ($i = 0; $i
                < $db->
                db->row_count; $i++) {
                $row = $db->GetFetchArray();
                $row['fwnr'] = '
                <input name="vgd" type="button" value="查看" onclick="viewgd(\''.$row['contactnumber'].'\',\''.$row['time'].'\')"/>
                ';
                $pushtable[] = $row;
            }
            $jsonr = array(
                'total' => count($pushtable),
                'rows' => $pushtable
            );
            $returnajaxcontent=json_encode($jsonr);
        }
        
    }
?>